<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <?php
        session_start();
        if(isset($_SESSION['usuario'])){
            $user = $_SESSION['usuario'];
            $rol = $_SESSION['rol'];
            $_SESSION['usuario'] = $user;
            $_SESSION['rol'] =$rol;
        } else {
            header('Location: ../');
        }
    ?>
    <head>
        <link rel="icon" href="favicon.ico" type="image/x-icon" />
        <link rel="shortcut icon" href="../favicon.ico" type="image/x-icon"/>
        <meta charset="UTF-8">
        <title>Panamerican School</title>
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <link rel="stylesheet" href="../Resources/jquery-ui-1.11.2.custom/jquery-ui.css">
        <link rel="stylesheet" href="../Resources/bootstrap/css/bootstrap.css">
        <link rel="stylesheet" href="../Resources/bootstrap/css/bootstrap.css.map">
        <link rel="stylesheet" href="../Resources/bootstrap/css/bootstrap-theme.css">
        <link rel="stylesheet" href="../Resources/bootstrap/css/bootstrap-theme.css.map">
        <link rel="stylesheet" href="../Resources/style/general.css">
        <script src="../Resources/js/jquery-1.11.1.js"></script>
        <script type="text/javascript" src="../Resources/jquery-ui-1.11.2.custom/jquery-ui.js"></script>
        <script type="text/javascript" src="../Resources/bootstrap/js/bootstrap.js"></script>
        <script type="text/javascript" src="../Resources/js/validacionesGenerales.js"></script>
        <script type="text/javascript" src="../Resources/js/manejoDeDatos.js"></script>
        <script type="text/javascript" src="../Resources/js/dropzone.js"></script>
        <link rel="stylesheet" href="../Resources/style/dropzone.css" type="text/css" />
        <link rel="stylesheet" href="../Resources/style/general.css" type="text/css"/>
		<script src="../Resources/js/sha3.js"></script>
    </head>
    <body>

        <!--[if lt IE 10]>
            <p class="chromeframe">Estas usando un navegador <strong>desactualizado</strong>. Por favor <a href="http://browsehappy.com/">actualiza tu navegador</a></p>
        <![endif]-->
        <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">

            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
                    <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                    <a href="#" class="navbar-brand dropdown-toggle" data-toggle="dropdown">Home <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li>
                                <a href="../Menu/menuPrincipal.php">Menu</a>
                            </li>
                            <li>
                                <a href="../Ordenes/OrdenCompra.php">Purchase order</a>
                            </li>
                            <li>
                                <a href="../Ordenes/OrdenCompra.php">Orden 2</a>
                            </li>
                            <li>
                                <a href="../Ordenes/OrdenCompra.php">Orden 2</a>
                            </li>
                        </ul>
            </div>

            <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                <ul class="nav nav-center">
                    <li>
                        <a id="overOpacity" href="#">Panamerican School</a>
                    </li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li>
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><?php echo $user ?> <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li>
								<a href="../Menu/editarUsuario.php">Edit profile</a>
                            </li>
                            <li>
                                <a href="../Menu/usuarios.php?us=n">Users</a>
                            </li>
                            <li>
                                <a href="../Controller/CerrarSesionController.php">Logout</a>
                            </li>
                        </ul>
                    </li>
                    <li>
                        <div class="col-sm-1 col-md-1"></div>
                    </li>
                </ul>
            </div>
        </nav>

        <div class="row">
            <div class="col-xs-3 col-sm-3"></div>
            <div class="col-xs-6 col-sm-6 logoSistema">
                <br/><br/>

                <img src="../Resources/img/logo.png" height="40%" width="80%" class="center"/>

                <br/><br/>
            </div>
            <div class="col-xs-3 col-sm-3"></div>
        </div>


